package com.example.base.entity;

import org.springframework.stereotype.Component;

@Component
public class UserDormRelation {
    private Integer id;
    private Integer uid;
    private Integer roomId;
    private Boolean isValid;

    @Override
    public String toString() {
        return "UserDormRelation{" +
                "id=" + id +
                ", uid=" + uid +
                ", roomId=" + roomId +
                ", isValid=" + isValid +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public Integer getRoomId() {
        return roomId;
    }

    public void setRoomId(Integer roomId) {
        this.roomId = roomId;
    }

    public Boolean getValid() {
        return isValid;
    }

    public void setValid(Boolean valid) {
        isValid = valid;
    }
}
